package com.atguigu.yygh.host.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentQueryVo;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author DongYu Zhou
 * @date 2022/6/24 18:49
 */
public interface DepartmentService {
    void save(Map<String, Object> stringObjectMap);

    Page<Department> selectPage(int page, int limit, DepartmentQueryVo departmentQueryVo);


    void remove(String hoscode, String depcode);

    //根据医院编号查询医院所有的科室列表
    List<DepartmentVo> getDepVoList(String hoscode);

    String getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
